package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门店做法对象 store_cooking_methods
 *
 * @author ruoyi
 * @date 2025-05-26
 */
public class StoreCookingMethods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 做法ID，主键，自增唯一标识 */
    private Long id;

    /** 做法名称，例如“加辣”“去冰”“加蛋”等，不允许为空 */
    @Excel(name = "做法名称，例如“加辣”“去冰”“加蛋”等，不允许为空")
    private String methodName;

    /** 做法分类，例如“口味调整”“配料添加”“温度控制”等，用于归类做法，不允许为空 */
    @Excel(name = "做法分类，例如“口味调整”“配料添加”“温度控制”等，用于归类做法，不允许为空")
    private String methodCategory;

    /** 做法加价方式，例如“固定加价”“百分比加价”“不加价”等，不允许为空 */
    @Excel(name = "做法加价方式，例如“固定加价”“百分比加价”“不加价”等，不允许为空")
    private String pricingStrategy;

    /** 做法价格，记录该做法对应的加价金额，默认为0.00，单位为元，不允许为空 */
    @Excel(name = "做法价格，记录该做法对应的加价金额，默认为0.00，单位为元，不允许为空")
    private BigDecimal methodPrice;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setMethodName(String methodName)
    {
        this.methodName = methodName;
    }

    public String getMethodName()
    {
        return methodName;
    }

    public void setMethodCategory(String methodCategory)
    {
        this.methodCategory = methodCategory;
    }

    public String getMethodCategory()
    {
        return methodCategory;
    }

    public void setPricingStrategy(String pricingStrategy)
    {
        this.pricingStrategy = pricingStrategy;
    }

    public String getPricingStrategy()
    {
        return pricingStrategy;
    }

    public void setMethodPrice(BigDecimal methodPrice)
    {
        this.methodPrice = methodPrice;
    }

    public BigDecimal getMethodPrice()
    {
        return methodPrice;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("methodName", getMethodName())
                .append("methodCategory", getMethodCategory())
                .append("pricingStrategy", getPricingStrategy())
                .append("methodPrice", getMethodPrice())
                .append("phone", getPhone())
                .toString();
    }
}
